/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package biofilter.records;

/**
 *
 * @author t9i
 */
public interface Record {

    /**
     * Provide a standard API for getting a record's contents as a string value.
     * To declare an abstract get method that should be implemented by Records in the
     * system.  This is part of the pipes and  filters architecture design pattern.
     *
     *
     * @return String - the string representation of the object
     */
    String get();

    /**
     * Provide a standard API for setting a record's contents as a string value.
     * To declare an abstract set method that should be implemented by Records in the
     * system.  This is part of the pipes and  filters architecture design pattern.
     *
     *
     * @param r the record's value
     */
    void set(String r) throws IllegalArgumentException;

}
